package com.football.service.Implement;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.football.dao.Interface.LeagueDAO;
import com.football.model.League;
import com.football.service.Interface.LeagueService;

@Service
public class LeagueServiceImpl implements LeagueService {

	@Autowired
	private LeagueDAO leagueDAO;

	@Transactional
	public void addNewLeague(League league) {
		leagueDAO.addNewLeague(league);
	}

}
